package middleware

import (
	"github.com/gin-gonic/gin"
	"go-admin/app/global/app"
)

// CasbinMiddleware Casbin权限中间件
func CasbinMiddleware() gin.HandlerFunc {
	return app.CasbinV2.CasbinMiddleware()
}
